package com.dailyblue.project.estate.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dailyblue.project.estate.commons.bean.Community;
import com.dailyblue.project.estate.commons.util.JsonResult;
import org.springframework.stereotype.Service;

/**
 * @Auther:Liu
 * @Testname:CommunityService
 * @Date:2025/9/18 14:31
 */
@Service
public interface CommunityService extends IService<Community> {
    //添加一条数据
    JsonResult saveCommunity(Community community);
    //查找一条数据
    JsonResult findOneCommunity(String id);
    //查找所有数据
    JsonResult findAllCommunity();
    //删除一条数据
    JsonResult deleteCommunity(String id);
    //更新一条数据
    JsonResult updateCommunity(Community community);
}
